package Task2;

public interface SortedIntListInterface {
	   public boolean isEmpty();
	      // return true if the list is empty
	   public int size();
	      // return the number of items in the list
	   public void add(int val);
	      // add the item val to the list if not already present
	   public void delete(int val);
	      // delete the item with value val from the list if it's there
	   public void clear();
	      // empty the list completely
	   public int getPosition(int x);
	      // get the position of value x, or -1 if x isn't in the list
	   public int get(int i); 
	      // get the value at position i
	   public String toString();
	      // for printing the list out
	   public int[] toArray();
	      // for easy automatic testing
	}